package com.itshidu.game.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.itshidu.game.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Jack.Xia
 * @since 2019-12-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("g_hero_equipment")
public class HeroEquipment extends BaseEntity {

    private static final long serialVersionUID=6L;

    /**
     * 头戴
     */
    private Integer head = 0;

    /**
     * 手持
     */
    private Integer hand = 0;

    /**
     * 身穿
     */
    private Integer wear = 0;

    /**
     * 脚穿
     */
    private Integer foot = 0;

    /**
     * 戒指
     */
    private Integer ring = 0;


    @TableField(exist = false)
    private Item _headItem;
    @TableField(exist = false)
    private Item _handItem;
    @TableField(exist = false)
    private Item _wearItem;
    @TableField(exist = false)
    private Item _footItem;
    @TableField(exist = false)
    private Item _ringItem;
}
